Skip to content

Phase 7 appointment booking#16

Open
Teravisiontech wants to merge 16 commits into
https-deeplearning-ai:mainfrom
Teravisiontech:phase-7-appointment-booking
Open

Phase 7 appointment booking#16
Teravisiontech wants to merge 16 commits into
https-deeplearning-ai:mainfrom
Teravisiontech:phase-7-appointment-booking

Conversation

@Teravisiontech

Copy link
Copy Markdown

phase 7

Teravisiontech and others added 16 commits June 17, 2026 12:43
Refactor Layout.tsx to compose three separate subcomponents (Header,
Main, Footer). Update spec plan and mark Phase 2 complete in roadmap.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds responsive design as a baseline requirement rather than a Phase 9
concern. CSS gutters now use clamp() for fluid scaling from 320px mobile
to wide desktop. Specs updated across tech-stack, roadmap, and the
hello-hono feature to reflect this constraint.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Installs a /changelog slash command that reads git history and writes
CHANGELOG.md grouped by date. Idempotent: re-running only prepends
entries newer than the last recorded date, making it safe to invoke
before every merge.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Brings in Vitest test suite, responsive design baseline, /changelog
skill, and updated specs from the replanning session.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add better-sqlite3, run migration, and seed five fictional agents
- Wire up GET /agents route that reads from the database
- Add Agents page with a plain <table> styled automatically by Pico CSS
- Replace custom style.css with Pico CSS CDN in Layout
- Restructure Header to use Pico's semantic nav pattern
- Update tests to cover /agents and the new stylesheet reference

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add migration 002 for presenting_complaints TEXT column on agents
- Update seed with a presenting complaint per agent
- Add AgentDetail page using a <dl> for fields and a back link
- Add GET /agents/:id route with 404 for missing agents
- Link agent names in the list to their detail pages
- Update tests: detail page, 404, and linked names in list

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add ailments and agent_ailments tables (migrations 003, 004)
- Seed 6 ailments and 9 agent-ailment assignments
- Add /ailments list page and /ailments/:id detail page
- Update /agents/:id to show the agent's ailments with links
- Add Ailments nav link to Header
- 7 tests passing (3 new suites)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add therapies and ailment_therapies tables (migrations 005, 006)
- Seed 6 therapies and 8 ailment-therapy mappings
- Add /therapies list page and /therapies/:id detail page
- Update /ailments/:id to show recommended therapies with links
- Add Therapies nav link to Header
- 10 tests passing across 7 suites

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add appointments table (migration 007) with agent FK, therapist, datetime, notes, status
- Add GET /agents/:id/appointments/new booking form (Pico CSS styled)
- Add POST /agents/:id/appointments with validation and redirect on success
- Add GET /appointments/:id/confirmation page
- Add Book Appointment link to agent detail page
- 14 tests passing across 9 suites

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Teravisiontech

Copy link
Copy Markdown
Author

approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant